package com.btb.adapter.mapper;

import com.btb.adapter.model.TransferRecord;
import com.btb.adapter.model.TransferRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TransferRecordMapper {
	long countByExample(TransferRecordExample example);

	int deleteByExample(TransferRecordExample example);

	int deleteByPrimaryKey(Long id);

	int insert(TransferRecord record);

	int insertSelective(TransferRecord record);

	List<TransferRecord> selectByExample(TransferRecordExample example);

	TransferRecord selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") TransferRecord record,
			@Param("example") TransferRecordExample example);

	int updateByExample(@Param("record") TransferRecord record, @Param("example") TransferRecordExample example);

	int updateByPrimaryKeySelective(TransferRecord record);

	int updateByPrimaryKey(TransferRecord record);

	List<TransferRecord> queryNotify(Integer retryTimes);
}